package com.fesine.ch02.synMoreObjectStaticOneLock;

/**
 * @description: 类描述
 * @author: Fesine
 * @createTime:2016/7/6 18:26
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/7/6 18:26
 */
public class Run {
    public static void main(String[] args) {
        Service service1 = new Service();
        Service service2 = new Service();
        ThreadA a = new ThreadA(service1);
        a.setName("A");
        a.start();
        ThreadB b = new ThreadB(service2);
        b.setName("B");
        b.start();
    }
}
